# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ikeprober
pkgver=1.12
pkgrel=8
groups=('blackarch' 'blackarch-fuzzer')
pkgdesc='Tool crafting IKE initiator packets and allowing many options to be manually set. Useful to find overflows, error conditions and identifiyng vendors'
arch=('any')
url='http://ikecrack.sourceforge.net/'
license=('custom:unknown')
depends=('perl')
makedepends=('dos2unix')
source=("$pkgname::http://ikecrack.sourceforge.net/IKEProber.pl")
sha512sums=('d438b29eed48f7ee16e05d4234235242405d98325d63f796b5228ecd30e363be25f577f1fea81fb0aa5eb496083e01d6db58bd97bdf798c12a1327aa76506a1f')

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"

  # For some reason, this does not work in prepare().
  dos2unix "$pkgdir/usr/bin/$pkgname"
}

